#include <led.h>

void led_disp(unsigned char adder,enable)
{
	unsigned char teim = 0X00;
	unsigned char teim_old = 0XFF;

	if(enable)
	 teim |= 0X01 << adder;
	else
	 teim &= ~(0X01 << adder);
	if(teim !=teim_old)
		P0 = ~teim;
	P2 = P2 & 0X1F |0X80;
	P2 &= 0X1F;
}